body {
    background-color: lightgreen;
}

@media screen and (max-width: 600px) {
    body {
        background-color: pink;
    }
}